<div class="wide form">
    <?php echo $note; ?>
    <?php $form = $this->beginWidget('ActiveForm', $formConfig); ?>

    <div class="row">
        <?php echo $form->label($account, 'id_'); ?>
        <?php echo $form->textField($account, 'id_'); ?>
    </div>

    <div class="row">
        <?php echo $form->label($account, 'name_'); ?>
        <?php echo $form->textField($account, 'name_'); ?>
    </div>
    
    <div class="row">
        <?php echo $form->label($account, 'contactNumber_'); ?>
        <?php echo $form->textField($account, 'contactNumber_'); ?>
    </div>
    
    <div class="row">
        <?php echo $form->label($account, 'faxNumber_'); ?>
        <?php echo $form->textField($account, 'faxNumber_'); ?>
    </div>
    
    <div class="row">
        <?php echo $form->label($account, 'email_'); ?>
        <?php echo $form->textField($account, 'email_'); ?>
    </div>

    <div class="row">
        <?php echo $form->label($account, 'city_'); ?>
        <?php echo $form->textField($account, 'city_'); ?>
    </div>
    
    <div class="row">
        <?php echo $form->label($address, 'state_'); ?>
        <?php echo $form->textField($address, 'state_'); ?>
    </div>

    <div class="row">
        <?php echo $form->label($address, 'country_'); ?>
        <?php echo $form->dropDownList($address, 'country_', $address->countryOption); ?>
    </div>
    
    <div class="row">
        <?php echo $form->label($account, 'type_'); ?>
        <?php echo $form->dropDownList($account, 'type_', $account->typeOption, array('empty'=>'')); ?>
    </div>
    
    <div class="row">
        <?php echo $form->label($account, 'status_'); ?>
        <?php echo $form->dropDownList($account, 'status_', $account->statusOption); ?>
    </div>
    
    <div class="row buttons">
        <?php echo CHtml::submitButton('Search'); ?>
    </div>

    <?php $this->endWidget(); ?>

</div><!-- search-form -->